Xbasic
thread.current Method
Syntax
dim result as P = thread.Thread()
Returns
- resultPointer
Returns a pointer to the current thread.
Description
The currently running thread.
Discussion
The thread.current() method returns a pointer to the current thread.
Example
dim tPtr as P tPtr = thread.current() ? tPtr.Name() = "Main"
Limitations
Desktop applications only.
See Also